package com.example.lib_db.db.room.migrations

import androidx.room.DeleteColumn
import androidx.room.RenameColumn
import androidx.room.migration.AutoMigrationSpec
import androidx.sqlite.db.SupportSQLiteDatabase

@DeleteColumn(tableName = "user_info", columnName = "is_author")
class UserInfoColumnDeleteMigration:AutoMigrationSpec{
    override fun onPostMigrate(db: SupportSQLiteDatabase) {
        super.onPostMigrate(db)    //执行一些sq语句
    }
}